home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3fratre.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_FRACTALTREE_H = 1;
- include("real/objects/r3level.js")
-
-
- var R3CLID_FRACTALTREE = 342;
-
-
-
-
- // Description: Create/update tree according to the current attributes and sub objects. This method is called
- // when rotator object's attributes or sub objects are changed. Catch this method if you want
- // to change the entire logic of the tree generator.
- // Returns: Boolean, TRUE if succeeded
-
- R3FRATREM_UPDATETARGETS = 342000;
-
- function mR3FRATREM_UPDATETARGETS() {
- return DoA(this.r3obj, 342000, 0, R3TID_INTEGER, 0);
- }
-
-
- R3FRATREM_BEGINTREE = 342001;
-
- function mR3FRATREM_BEGINTREE() {
- DoA(this.r3obj, 342001, 0, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3FRATREA_Age = 342500;
- function SetR3FRATREA_Age(value) {
- R3Set(this.r3obj, R3FRATREA_Age, value, R3TID_FLOAT, 0);
- }
-
- function GetR3FRATREA_Age() {
- return R3Get(this.r3obj, R3FRATREA_Age, R3TID_FLOAT, 0);
- }
-
- var R3FRATREA_Time = 342501; // Number
- R3FRATREA_BranchCount = 342502;
- function SetR3FRATREA_BranchCount(value) {
- R3Set(this.r3obj, R3FRATREA_BranchCount, value, R3TID_INTEGER, 0);
- }
-
- function GetR3FRATREA_BranchCount() {
- return R3Get(this.r3obj, R3FRATREA_BranchCount, R3TID_INTEGER, 0);
- }
-
- R3FRATREA_BranchAngle = 342503;
- function SetR3FRATREA_BranchAngle(value) {
- R3Set(this.r3obj, R3FRATREA_BranchAngle, value, R3TID_FLOAT, 0);
- }
-
- function GetR3FRATREA_BranchAngle() {
- return R3Get(this.r3obj, R3FRATREA_BranchAngle, R3TID_FLOAT, 0);
- }
-
- var R3FRATREA_ThicknessFactor = 342504; // Number
- var R3TREETYPE_CROSSECTION = 0;
- var R3TREETYPE_NURBSCURVE = 1;
-
-
- function r3Fractaltree () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_FRACTALTREE, arguments);
- }
- // Methods
- this.UPDATETARGETS=mR3FRATREM_UPDATETARGETS;
- this.BEGINTREE=mR3FRATREM_BEGINTREE;
-
- // Attributes
- this.GetAge=GetR3FRATREA_Age;
- this.SetAge=SetR3FRATREA_Age;
- this.GetBranchCount=GetR3FRATREA_BranchCount;
- this.SetBranchCount=SetR3FRATREA_BranchCount;
- this.GetBranchAngle=GetR3FRATREA_BranchAngle;
- this.SetBranchAngle=SetR3FRATREA_BranchAngle;
- }
-
- r3Fractaltree.prototype=new r3Level;
- // r3fratre.h_H